package com.shopoo.oauth.dto.clientobject;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description:
 * @Auther: limy66
 * @Date: 2021/05/18/10:53
 */
@Data
public class MenuTree implements Serializable {

    private static final long serialVersionUID = 153465436222311452L;

    @ApiModelProperty("菜单ID")
    private Long menuId;

    @ApiModelProperty("父菜单")
    private Long parentId;

    @ApiModelProperty("菜单名")
    private String name;

    @ApiModelProperty("路径")
    private String url;

    @ApiModelProperty("角色ID")
    private Long roleId;

    @ApiModelProperty("子菜单")
    private List<MenuTree> children;

}
